package com.ruoyi.ltd_web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容对象 ltd_content
 *
 * @author ruoyi
 * @date 2024-12-04
 */
public class LtdContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long contentId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createId;

    /** 菜单ID */
    @Excel(name = "菜单ID")
    private Long menuId;

    /** 类型 0字符1图片2按钮3url */
    @Excel(name = "类型 0字符1图片2按钮3url")
    private Long contentType;

    /** 0-值 */
    @Excel(name = "值")
    private String contentValue;

    /** 状态0正常1停用 */
    @Excel(name = "状态0正常1停用")
    private Long contentStatus;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 标签 */
    @Excel(name = "标签")
    private String contentLabel;


    /** 菜单名称 */
    private String menuName;

    /** 文件路径 */
    private String contentUrl;

    public void setContentId(Long contentId)
    {
        this.contentId = contentId;
    }

    public Long getContentId()
    {
        return contentId;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setMenuId(Long menuId)
    {
        this.menuId = menuId;
    }

    public Long getMenuId()
    {
        return menuId;
    }
    public void setContentType(Long contentType)
    {
        this.contentType = contentType;
    }

    public Long getContentType()
    {
        return contentType;
    }
    public void setContentValue(String contentValue)
    {
        this.contentValue = contentValue;
    }

    public String getContentValue()
    {
        return contentValue;
    }
    public void setContentStatus(Long contentStatus)
    {
        this.contentStatus = contentStatus;
    }

    public Long getContentStatus()
    {
        return contentStatus;
    }
    public void setOrderNum(Long orderNum) {this.orderNum = orderNum;}

    public Long getOrderNum() {return orderNum;}
    public void setContentLabel(String contentLabel) {this.contentLabel = contentLabel;}

    public String getContentLabel() {return contentLabel;}
    public String getMenuName()
    {
        return menuName;
    }

    public void setMenuName(String menuName)
    {
        this.menuName = menuName;
    }

    public String getContentUrl() {return contentUrl;}

    public void setContentUrl(String contentUrl) {this.contentUrl = contentUrl;}

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createName", getCreateName())
            .append("createId", getCreateId())
            .append("menuId", getMenuId())
            .append("contentType", getContentType())
            .append("contentValue", getContentValue())
            .append("contentStatus", getContentStatus())
            .append("orderNum", getOrderNum())
            .append("contentLabel", getContentLabel())
            .append("menuName", getMenuName())
            .append("contentUrl", getContentUrl())
            .toString();
    }
}
